#pragma once
#include "service\storage\file\BaseFileService.h"
#include "model\Match.h"
#include <iostream>
#include <iomanip>
#include <functional>

class Match;
class Division;

class ExportFileService : public BaseFileService {
public:
  ExportFileService();

  explicit ExportFileService(std::fstream& file);

  ExportFileService(const std::string fname,
    const std::ios::openmode=std::ios::out|std::ios::in);

  virtual ~ExportFileService();

  ExportFileService& ExportMatchSchedule(const std::vector<Match> matches);

  ExportFileService& ExportResult(const std::vector<Match> matches);

  ExportFileService& ExportTable(const Division& division);



private:

};

